package com.platform.omp.OperationalModule.customerInjure.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * D_CustomerInjure
 *
 * @author liucl
 */
@Data
@ApiModel(value = "DCustomerinjureQuery实体类", description = "客伤查询实体类")
public class DCustomerinjureQuery implements Serializable {


    /**
     * 所属站点ID(部门)
     */
    @NotNull(message = "所属站点ID(部门)不能为空")
    @ApiModelProperty(value = "所属站点ID(部门)不能为空")
    private Integer deptid;

    /**
     * 站点编号(站区)
     */
    @NotBlank(message = "站点编号(站区)不能为空")
    @ApiModelProperty(value = "站点编号(站区)不能为空")
    private String deptNo;

    /**
     * 位置信息(车站)
     */
    @ApiModelProperty(value = "位置信息(车站)")
    private String expositiontypeid;


    /**
     * 审核状态
     */
    @ApiModelProperty(value = "审核状态")
    private String checkstate;


    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private static final long serialVersionUID = 1L;

}